package org.alvin.xl.hlht.client;

import org.alvin.mini_inject.annotations.MiniComponent;
import org.alvin.mini_inject.annotations.MiniInject;
import org.alvin.mini_inject.annotations.MiniRun;
import org.alvin.xl.hlht.ui.DecodeFrame;

@MiniComponent
public class HlhtTerminal {

    @MiniInject
    private DecodeFrame decodeFrame;
    @MiniInject
    private HlhtClientSimulator hlhtClientSimulator;


    @MiniRun
    public void doStart() {
        decodeFrame.pack();
        decodeFrame.setLocationRelativeTo(null);
        decodeFrame.setVisible(true);

//        try {
//            System.out.println(this.queryToken());
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
    }
}
